

const Model = {
  namespace: 'test',
  state: {
    list: "11",
    arr: {"a": 123},
    pi: [{"key": "value"}]
  },
  effects: {
    *fetchBasic(_, { call, put }) {
     yield put({
       type: 'show',
       payload: {"key": "222"}
     })
    },
  },
  reducers: {
    show(state, { payload}) {
      // debugger
    
      return {...state,list: "222"}
    }, 
  },
};
export default Model;
